<cfsetting enablecfoutputonly="true">
<cfprocessingdirective pageencoding="utf-8">
<!---
	Name         : dspOldStuff.cfm
	Author       : Sean Corfield 
	Created      : October 1, 2004
	Last Updated : October 1, 2004
	History      : 
	Purpose		 : Display old monthly and category links
--->

<cfoutput>
These links will take you to the flat HTML pages which contain articles posted through my 
old Movable Type blog that were not imported into Blog CFC. The <strong>comments</strong> 
links will not work on these pages and the <strong>search</strong> feature will not work 
either. These pages are provided for historical reference only.
<hr noshade size="1" />
Monthly archives:
<cfset oldDate = createDate(2003,6,1) />
<cfset lastYear = 2004 />
<cfloop index="i" from="1" to="13">
	<cfset y = year(oldDate) />
	<cfset m = month(oldDate) />
	<cfset mName = dateFormat(oldDate,"MMM") />
	<cfset mm = numberFormat(m,"00") />
	<cfif y neq lastYear>
		<br /><strong>#y#</strong><br />
		<cfset lastYear = y />
	</cfif>
	<a href="/index.cfm?event=blog.archive&month=#y#_#mm#">#mName#</a>
	<cfset oldDate = dateAdd("m",-1,oldDate) />
</cfloop>
<hr noshade size="1"/>
Category archives:<br />
<cfset oldCats = "architecture,blogging,cf,j2ee,macromedia,mx,oss,osx,personal,php,programming,wifi" />
<cfloop list="#oldCats#" index="i">
	<a href="/index.cfm?event=blog.archive&category=#i#">#i#</a>
</cfloop>
</cfoutput>
	
<cfsetting enablecfoutputonly="false">